gcc-3.4/ia64 compilation fixes.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 3 Aug 2005 09:33:09 +0000 (09:33 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 3 Aug 2005 09:33:09 +0000 (09:33 +0000)
The ia64 parts of this patch are already in xen-ia64-unstable.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
xen/arch/x86/smpboot.c
xen/arch/x86/traps.c
xen/include/xen/ac_timer.h
xen/include/xen/sched.h

index 392c6f1abb6a63ed6ed54aff4f588f41656e6cdb..4bb2d27a32232993362a7d70876cc7fcd8736041 100644 (file)
@@ -434,7 +434,6 @@ void __init start_secondary(void *unused)
        unsigned int cpu = cpucount;
 
        extern void percpu_traps_init(void);
-       extern void cpu_init(void);
 
        set_current(idle_task[cpu]);
        set_processor_id(cpu);
index 0889cd32bd89f0f2fa9e16a247711d7f06a43695..b038c37b223f26de9cc5970e8d977e548f7c7710 100644 (file)
@@ -1155,7 +1155,6 @@ void set_tss_desc(unsigned int n, void *addr)
 void __init trap_init(void)
 {
     extern void percpu_traps_init(void);
-    extern void cpu_init(void);
 
     /*
      * Note that interrupt gates are always used, rather than trap gates. We 
index a1d3f7095d8e17c9b1e511f4b9fefe9076cbd74b..baf10147927dadf37b4a2fd96096be8eea3fb5be 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <xen/spinlock.h>
 #include <xen/time.h>
+#include <xen/string.h>
 
 struct ac_timer {
     /* System time expiry value (nanoseconds since boot). */
index 562b3241c6de5a7169827a653af5e4e6eb1b7ca2..cc151badda3da6869ed34e33f23a0709e10c4fa5 100644 (file)
@@ -386,6 +386,7 @@ void vcpu_unpause(struct vcpu *v);
 void domain_unpause(struct domain *d);
 void domain_pause_by_systemcontroller(struct domain *d);
 void domain_unpause_by_systemcontroller(struct domain *d);
+void cpu_init(void);
 
 static inline void vcpu_unblock(struct vcpu *v)
 {